package com.suneee.store.entity;

import java.io.Serializable;

import com.suneee.orm.annotation.Column;
import com.suneee.orm.annotation.Entity;
import com.suneee.orm.annotation.Table;
import com.suneee.orm.annotation.Transient;


@Entity
@Table(name = "v_virtual_depot")
public class ViewVirtualDepot implements Serializable{

	private static final long serialVersionUID = 1L;
	
	
	@Column(name="spu_id")
	private Integer spuId;
	
	@Column(name="sku_id")
	private Integer skuId;
	
	@Column(name="title")
	private String title;

	@Column(name="category_name")
	private String categoryName;
	
	@Column(name="category_code")
	private String categoryCode;
	
	@Column(name="spec_one_value")
	private String specOneValue;
	
	@Column(name="spec_two_value")
	private String specTwoValue;
	
	@Column(name="spec_three_value")
	private String specThreeValue;
	
	@Column(name="spec_four_value")
	private String specFourValue;
	
	@Column(name="price")
	private String price;
	
	@Column(name="advice_price")
	private String advicePrice;
	
	@Column(name="assigned_stock")
	private Integer assignedStock;
	
	@Column(name="stock")
	private Integer stock;
	
	@Column(name="enterprise_code")
	private String enterpriseCode;
	
	@Column(name="market_price")
	private Float marketPrice;
	
	@Column(name="from_type")
	private Integer fromType;
	
	@Transient
	private String fromTypeName;
	
	@Column(name="purchase_price")
	private Float purchasePrice;

	public String getEnterpriseCode() {
		return enterpriseCode;
	}

	public void setEnterpriseCode(String enterpriseCode) {
		this.enterpriseCode = enterpriseCode;
	}

	public Integer getSpuId() {
		return spuId;
	}

	public void setSpuId(Integer spuId) {
		this.spuId = spuId;
	}

	public Integer getSkuId() {
		return skuId;
	}

	public void setSkuId(Integer skuId) {
		this.skuId = skuId;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getCategoryName() {
		return categoryName;
	}

	public void setCategoryName(String categoryName) {
		this.categoryName = categoryName;
	}

	public String getSpecOneValue() {
		return specOneValue;
	}

	public void setSpecOneValue(String specOneValue) {
		this.specOneValue = specOneValue;
	}

	public String getSpecTwoValue() {
		return specTwoValue;
	}

	public void setSpecTwoValue(String specTwoValue) {
		this.specTwoValue = specTwoValue;
	}

	public String getSpecThreeValue() {
		return specThreeValue;
	}

	public void setSpecThreeValue(String specThreeValue) {
		this.specThreeValue = specThreeValue;
	}

	public String getSpecFourValue() {
		return specFourValue;
	}

	public void setSpecFourValue(String specFourValue) {
		this.specFourValue = specFourValue;
	}

	public Integer getAssignedStock() {
		return assignedStock;
	}

	public void setAssignedStock(Integer assignedStock) {
		this.assignedStock = assignedStock;
	}

	public Integer getStock() {
		return stock;
	}

	public void setStock(Integer stock) {
		this.stock = stock;
	}

	public String getCategoryCode() {
		return categoryCode;
	}

	public void setCategoryCode(String categoryCode) {
		this.categoryCode = categoryCode;
	}

	public Float getMarketPrice() {
		return marketPrice;
	}

	public void setMarketPrice(Float marketPrice) {
		this.marketPrice = marketPrice;
	}

	public String getPrice() {
		return price;
	}

	public void setPrice(String price) {
		this.price = price;
	}

	public String getAdvicePrice() {
		return advicePrice;
	}

	public void setAdvicePrice(String advicePrice) {
		this.advicePrice = advicePrice;
	}

	public Integer getFromType() {
		return fromType;
	}

	public void setFromType(Integer fromType) {
		this.fromType = fromType;
	}

	public Float getPurchasePrice() {
		return purchasePrice;
	}

	public void setPurchasePrice(Float purchasePrice) {
		this.purchasePrice = purchasePrice;
	}

	public String getFromTypeName() {
		return fromTypeName;
	}

	public void setFromTypeName(String fromTypeName) {
		this.fromTypeName = fromTypeName;
	}
	
}
